package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallRegionModel = (*customMallRegionModel)(nil)

type (
	// MallRegionModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallRegionModel.
	MallRegionModel interface {
		mallRegionModel
	}

	customMallRegionModel struct {
		*defaultMallRegionModel
	}
)

// NewMallRegionModel returns a model for the database table.
func NewMallRegionModel(conn sqlx.SqlConn) MallRegionModel {
	return &customMallRegionModel{
		defaultMallRegionModel: newMallRegionModel(conn),
	}
}
